<?php require('../data/dbcon.php'); ?>
<?php require('../data/functions.php'); ?>
<?php
$post = strip_tags($_POST['content'], '<span>');
$id = ereg_replace("[^0-9]", "", $_POST['postid']);
$editpost = mysql_query('UPDATE v2_posts SET post=' . sanisql($post) . ' WHERE id=' . $id . '');
echo nl2br($post);
?>
